#pragma once
#include <wtypes.h>
#include <iostream>
#include <vector>
#include <tchar.h>

using namespace std;

#if (defined(_UNICODE) || defined(UNICODE)) && ! defined(KIV_STR)
#define KIV_STR std::wstring
#else
#define KIV_STR std::string
#endif

class CStringHelper
{
public:
	CStringHelper();
	~CStringHelper();
public:
	static INT Split(const KIV_STR& str, vector<KIV_STR>& ret_, KIV_STR sep = _T(","));
	static KIV_STR Replace(const KIV_STR& str, const KIV_STR& src, const KIV_STR& dest);
};

